home *** CD-ROM | disk | FTP | other *** search
-
-
-
- llllsssseeeeaaaarrrrcccchhhh((((3333TTTTccccllll)))) llllsssseeeeaaaarrrrcccchhhh((((3333TTTTccccllll))))
-
-
-
- NNNNAAAAMMMMEEEE
- lsearch - See if a list contains a particular element
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- llllsssseeeeaaaarrrrcccchhhh ?_m_o_d_e? _l_i_s_t _p_a_t_t_e_r_n
-
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- This command searches the elements of _l_i_s_t to see if one of them matches
- _p_a_t_t_e_r_n. If so, the command returns the index of the first matching
- element. If not, the command returns ----1111. The _m_o_d_e argument indicates |
- how the elements of the list are to be matched against _p_a_t_t_e_r_n and it |
- must have one of the following values:
-
- ----eeeexxxxaaaacccctttt
- The list element must contain exactly the same string as _p_a_t_t_e_r_n. |
-
- ----gggglllloooobbbb
- _P_a_t_t_e_r_n is a glob-style pattern which is matched against each list |
- element using the same rules as the ssssttttrrrriiiinnnngggg mmmmaaaattttcccchhhh command.
-
- ----rrrreeeeggggeeeexxxxpppp
- _P_a_t_t_e_r_n is treated as a regular expression and matched against each |
- list element using the same rules as the rrrreeeeggggeeeexxxxpppp command. |
-
- If _m_o_d_e is omitted then it defaults to ----gggglllloooobbbb.
-
-
- KKKKEEEEYYYYWWWWOOOORRRRDDDDSSSS
- list, match, pattern, regular expression, search, string
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-